﻿using System;
using System.Collections.Generic;
using System.Text;
using BF.Model;
using BF.Infrastructure;
using System.Linq.Expressions;

namespace BF.IBLL.IXZCF_WS_XWBLBLLLibrary
{
    public interface IXZCF_WS_XWBLBLL
    {
        bool Add(XZCF_WS_XWBL entity);
        bool Delete(XZCF_WS_XWBL entity);
        bool Delete(System.Linq.Expressions.Expression<Func<XZCF_WS_XWBL, bool>> predicate);
        List<XZCF_WS_XWBL> GetList(Expression<Func<XZCF_WS_XWBL, bool>> where, Expression<Func<XZCF_WS_XWBL, object>> orderBy, PageModel pageModel, bool isAscending);
        List<XZCF_WS_XWBL> GetList(Expression<Func<XZCF_WS_XWBL, bool>> where);
        int GetRowCount(Expression<Func<XZCF_WS_XWBL, bool>> where);
		bool Update();
		XZCF_WS_XWBL GetModel(Expression<Func<XZCF_WS_XWBL, bool>> predicate);
    }
}
